package com.maestro.sss;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class MaestroFoodActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        Button btn1 = (Button) findViewById(R.id.btn1);
        btn1.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) { onWorldcup(); }
		});
        
        Button btn2 = (Button) findViewById(R.id.btn2);
        btn2.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) { onRandom(); }
		});
        
        Button btn3 = (Button) findViewById(R.id.btn3);
        btn3.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) { onGame(); }
		});
    }

    public void onWorldcup () {
    	Intent i = new Intent(this, GameWorldcup.class);
    	startActivity(i);
    }
    
    public void onRandom () {
    	Intent i = new Intent(this, GameRandom.class);
    	startActivity(i);
    }
    
    public void onGame () {
    	Intent i = new Intent(this, GameGame.class);
    	startActivity(i);
    }
}